/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dados;

import java.io.Serializable;
import java.util.ArrayList;

/**
 *
 * @author Yuri Maia
 */
public class Prova extends ArrayList<ProvaQuestao> implements Serializable {
        
    
    
    public ArrayList<ProvaQuestao> getArrayListProvaQuestao() {
        ArrayList<ProvaQuestao> listaProva = new ArrayList<ProvaQuestao>();
        for (int i=0; i<= this.size()-1;i++)
            listaProva.add(this.get(i));
        return listaProva;
    }
    
    public void removerQuestao(int indice){
        this.remove(indice);
    }

    public ProvaQuestao getProvaQuestao(int indice){
        return this.get(indice);
    }
}
